// 轮播图组件
<template>
  <div>
    <van-swipe :autoplay="3000">
      <van-swipe-item v-for="(image, index) in images" :key="index">
        <img v-lazy="image.image_url" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "swipe",
  data() {
    return {};
  },
  props: ["images"],

  mounted() {},
  methods: {},
};
</script>

<style lang='less' scoped>
img{
  width: 100%;
  height: 220px;
}
</style>
